package com.masterclient.app.modules.income.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.income.dealer.model.DealerBankCardBean;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/10/23 17:34
 * 功能说明：
 */
public interface DealerBankCardManageContract {

    interface View extends BaseView {
        void getBankSuccess(List<DealerBankCardBean> data);
        void getBankCardFail(String msg);

        void BankRemoveSuccess();
        void BankRemoveFailed(String msg);

        void updateBankCardDefaultSuccess();
        void updateBankCardDefaultFailed(String msg);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getBankCardInfo();
        public abstract void bankRemove(String id);
        public abstract void updateBankCardDefault(String id);
    }
}